package onjava.advance.ch01.sec06;

/**
 * @author yangdc
 * @date 9/23/25 00:20
 */
enum Activity {
    SITTING, LYING, STANDING, HOPPING, RUNNING, DODGING, JUMPING, FALLING, FLYING
}

public class RandomTest {
    public static void main(String[] args) {
        for (int i = 0; i < 20; i ++) {
            System.out.print(Enums.random(Activity.class) + " ");
        }
    }
}
